using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Common.Configuration
{
    public interface IMongoConfig
    {
        IList<string> Hosts { get; }

        [XmlIgnore]
        Encoding DbEncoding { get; set; }

        string EncodingString { get; set; }
        string Login { get; set; }
        string Password { get; set; }
        bool IsReplica { get; set; }
        string DatabaseName { get; set; }
        int DefaultPort { get; set; }
    }
}